package org.jeecg.modules.hc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.modules.hc.enums.HcMerchantSettlementTypeEnum;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 企业订餐商户结算
 * @Author: jeecg-boot
 * @Date:   2023-07-14
 * @Version: V1.0
 */
@Data
@TableName("hc_company_merchant_settlement")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hc_company_merchant_settlement对象", description="企业订餐商户结算")
public class HcCompanyMerchantSettlement implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**类型*/
	@Excel(name = "类型", width = 15)
    @ApiModelProperty(value = "类型")
    private HcMerchantSettlementTypeEnum type;
	/**企业ID*/
	@Excel(name = "企业ID", width = 15)
    @ApiModelProperty(value = "企业ID")
    private java.lang.String companyId;
	/**门店ID*/
	@Excel(name = "门店ID", width = 15)
    @ApiModelProperty(value = "门店ID")
    private java.lang.String merchantId;
	/**结算日期*/
	@Excel(name = "结算日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "结算日期")
    private java.util.Date settlementDate;
	/**结算金额*/
	@Excel(name = "结算金额", width = 15)
    @ApiModelProperty(value = "结算金额")
    private java.math.BigDecimal settlementAmount;
	/**变动备注*/
	@Excel(name = "变动备注", width = 15)
    @ApiModelProperty(value = "变动备注")
    private java.lang.String changeRemarks;
	/**图片*/
	@Excel(name = "图片", width = 15)
    @ApiModelProperty(value = "图片")
    private java.lang.String picture;
	/**商家批次号*/
	@Excel(name = "商家批次号", width = 15)
    @ApiModelProperty(value = "商家批次号")
    private java.lang.String outNo;
	/**自动支付回调查询次数(查询12小时72次，72次之后还未成功说明openid错误，需重新获取openid)*/
	@Excel(name = "自动支付回调查询次数(查询12小时72次，72次之后还未成功说明openid错误，需重新获取openid)", width = 15)
    @ApiModelProperty(value = "自动支付回调查询次数(查询12小时72次，72次之后还未成功说明openid错误，需重新获取openid)")
    private java.lang.Integer callbackQueryTimes;
}
